package com.goods.common.model.business;

import com.wuwenze.poi.annotation.Excel;
import com.wuwenze.poi.annotation.ExcelField;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * description:
 * create by sxy 2021/6/8
 */

@Data
@Excel("supplier")
@Table(name = "biz_supplier")
public class Supplier {
    @Id
    @ExcelField(value = "编号", width = 20)
    private Long id;

    @ExcelField(value = "供应商名称", width = 255)
    private String name;

    @ExcelField(value = "供应商地址", width = 255)
    private String address;

    @ExcelField(value = "供应商邮箱", width = 255)
    private String email;

    @ExcelField(value = "供应商电话号码", width = 255)
    private String phone;

    @ExcelField(value = "创建时间", dateFormat = "yyyy年MM月dd日 HH:mm:ss", width = 180)
    private Date createTime;

    @ExcelField(value = "修改时间", dateFormat = "yyyy年MM月dd日 HH:mm:ss", width = 180)
    private Date modifiedTime;

    @ExcelField(value = "排序", width = 10)
    private Integer sort;

    @ExcelField(value = "联系人", width = 20)
    private String contact;

}

